package cn.hy.preparelesson.oa.mapper;

import cn.hy.preparelesson.oa.entity.ScLessonRelation;
import cn.hy.preparelesson.oa.entity.ScLessonRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ScLessonRelationMapper {
    long countByExample(ScLessonRelationExample example);

    int deleteByExample(ScLessonRelationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ScLessonRelation record);

    int insertSelective(ScLessonRelation record);

    List<ScLessonRelation> selectByExample(ScLessonRelationExample example);

    ScLessonRelation selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ScLessonRelation record, @Param("example") ScLessonRelationExample example);

    int updateByExample(@Param("record") ScLessonRelation record, @Param("example") ScLessonRelationExample example);

    int updateByPrimaryKeySelective(ScLessonRelation record);

    int updateByPrimaryKey(ScLessonRelation record);
}